project(ChineseChess CXX C)
cmake_minimum_required(VERSION 2.8)

include_directories(gtest/include)

aux_source_directory(src SRC_LIST)
aux_source_directory(test TEST_LIST)
add_executable(chesstest ${SRC_LIST} ${TEST_LIST})
target_link_libraries(chesstest /var/ChineseChess/gtest/lib/gtest_main.a)
